package com.goods.business.service;


import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ProductCategoryService {
    //1.1类别列表展示
    PageVO<ProductCategoryTreeNodeVO> categoryTree(Integer pageNum, Integer pageSize);
    //1.2.1物资分类父级列表
    List<ProductCategoryTreeNodeVO> getParentCategoryTree();
    //1.2.2添加分类
    void addParentCategoryTree(ProductCategory productCategory);
    //1.3.1回显编辑分类
    ProductCategoryTreeNodeVO editParentCategoryTree(Long id);
    //1.3.2修改分类
    void updateParentCategoryTree(Long id, ProductCategoryTreeNodeVO productCategoryTreeNodeVO);
    //1.4 删除分类
    boolean deleteParentCategoryTree(Long id);
}
